/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package intelligenttm.SourceFile;

import javafx.scene.image.Image;
import javafx.scene.image.ImageView;

/**
 *
 * @author 望舒凌霄
 */
public class FenQuCartoType {
    private String FenQuNumber;
    private String FenQuTypeName;
    private ImageView FenQuTypeSampleIMG;

    public FenQuCartoType() {
    }
    
    public FenQuCartoType(String Number, String TypeName, ImageView TypeSampleIMG) {
        this.FenQuNumber = Number;
        this.FenQuTypeName = TypeName;
        this.FenQuTypeSampleIMG = TypeSampleIMG;
    }

    public FenQuCartoType(String Number, String TypeName, String ImagePath) {
        this.FenQuNumber = Number;
        this.FenQuTypeName = TypeName;
        this.FenQuTypeSampleIMG.setImage( new Image(ImagePath));
    }
    
    public FenQuCartoType(String TypeName, ImageView TypeSampleIMG) {
        this.FenQuTypeName = TypeName;
        this.FenQuTypeSampleIMG = TypeSampleIMG;
    }

    public FenQuCartoType(String TypeName, String ImagePath) {
        this.FenQuTypeName = TypeName;
        this.FenQuTypeSampleIMG.setImage( new Image(ImagePath));
    }

    public String getFenQuNumber() {
        return FenQuNumber;
    }

    public void setFenQuNumber(String FenQuNumber) {
        this.FenQuNumber = FenQuNumber;
    }

    public String getFenQuTypeName() {
        return FenQuTypeName;
    }

    public void setFenQuTypeName(String FenQuTypeName) {
        this.FenQuTypeName = FenQuTypeName;
    }

    public ImageView getFenQuTypeSampleIMG() {
        return FenQuTypeSampleIMG;
    }

    public void setFenQuTypeSampleIMG(ImageView FenQuTypeSampleIMG) {
        this.FenQuTypeSampleIMG = FenQuTypeSampleIMG;
    }
    
    public void setTypeSampleIMG(String ImagePath) {
        this.FenQuTypeSampleIMG.setImage( new Image(ImagePath));
    }
    
}

